package com.lulin.mall.order.fegin;

import com.lulin.common.utils.R;
import com.lulin.mall.order.vo.WareSkuLockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * @author lulin
 * @date 2022/12/26 11:51
 */
@FeignClient(name = "mall-ware")
public interface WareFeignService {
    /**
     * 锁定订单库存
     */
    @PostMapping("/ware/waresku/lock/order")
    R orderLockStock(@RequestBody WareSkuLockVo vo);
}
